package com.xiaofeng.dao.idao;

import java.util.List;

import com.xiaofeng.pojo.Human_Resource;
import com.xiaofeng.pojo.Page;



public interface Human_ResourceDao {

	//增加
	void insert(Human_Resource human_Resource)throws Exception;
	//删除
	void delete(Human_Resource human_Resource)throws Exception;
	//修改
	void update(Human_Resource human_Resource)throws Exception;
	//id查询
	Human_Resource findById(int id)throws Exception;
	//查找所有
	List<Human_Resource> findall(int num,int size)throws Exception;
	//按页数查找
	Page<Human_Resource> findByPageNo(int pageNo)throws Exception;
	
	int getTotalNum()throws Exception;
}
